package iotwisp.school.area.service;

import iotwisp.base.orm.BaseDao;
import iotwisp.school.area.entity.Area;
import iotwisp.school.area.qo.AreaQO;
import org.hibernate.Criteria;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class AreaService extends BaseDao<Area, AreaQO> {

    @Override
    protected Criteria buildCriteria(Criteria criteria, AreaQO qo) {
        return criteria;
    }

    @Override
    protected Class<Area> getEntityClass() {
        return Area.class;
    }
}
